<div class="user auto fn-clear">
  <div class="rbox fn-r fn-f14">
  <span class="f16">还没有账号？</span><br />
  <a href="{url('user/register')}" class="ui-btn ui-btn-reg2" title="立即注册">立即注册</a>
  </div>
  <div class="lbox fn-l">
    <h3>登录</h3>
    <form id="form" action="{url('user/index')}" class="fn-clear">
    <ul>
      <li><label>帐号:</label><input datatype="s6-18" type="text" name="account" class="input name w150" /></li>
      <li><label>密码:</label><input datatype="*" type="password" name="password" class="input pass w150" /><a href="{url('user/getpassword')}">忘记密码?</a></li>
      <li><input type="submit" value="确定登陆" class="ui-btn ui-btn-login submit" /></li>
    </ul>
    </form>
    <div class="api fn-clear">
          您也可以用其他账号登录：<a href="{url('user/openid',array('api'=>'sina'))}" class="ui-icon ui-icon-sina">新浪微博</a>
          <a href="{url('user/openid',array('api'=>'qq'))}" class="ui-icon ui-icon-qq">QQ 账号</a>
    </div>
  </div>
</div>
<script language="javascript">
Do('base','Dialog','Form',function(){ 
    $('#form').cpFormPage();
}) 
</script>